package service;

import com.github.pagehelper.PageInfo;
import pojo.User;

import java.util.List;

public interface UserService {
   void insert(User user);

    List<User> findAll();

    PageInfo<User> findByPage(Integer pageNum, Integer pageSize);
}
